Function report |
Source Code:kernel\signal.c |
Create Date:2020-09-18 20:21:26 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download PLEA | Chinese |
Name:COMPAT_SYSCALL_DEFINE4
Proto:COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig, const struct compat_sigaction *, act, struct compat_sigaction *, oact, compat_size_t, sigsetsize)
Type:
Parameter:Nothing
| 4265 | If sigsetsize != sizeof(compat_sigset_t) Then Return -Invalid argument |
| 4268 | If act Then |
| 4273 | ret |= Get a simple variable from user space(restorer, & sa_restorer) |
| 4276 | ret |= get_compat_sigset( & mask last for extensibility , & sa_mask) |
| 4277 | ret |= Get a simple variable from user space(sa_flags, & sa_flags) |
| 4278 | If ret Then Return -Bad address |
| 4286 | ret |= Defined inline such that size can be compile time constant, which avoids * CONFIG_HARDENED_USERCOPY complaining about copies from task_struct |
| 4288 | ret |= Write a simple value into user space(sa_flags, & sa_flags) |
| 4294 | Return ret |
| Automatic code generation | X |
|---|---|
| Oracle-pc;Informix-ec;Mysql-c sqlj-Oracle, Informixjava-JDBC |